package ants

import "sync"

type PoolWithFunc struct {
	capacity    int32
	running     int32
	workers     []*goWorkerWithFunc
	release     int32
	lock        sync.Locker
	cond        *sync.Cond
	poolFunc    func(interface{})
	once        sync.Once
	workerCache sync.Pool
	blockingNum int
	options     *Options
}
